package org.van.carfimodulesproduction.service.stock;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.van.carfimodulesproduction.dao.StockDao;
import org.van.carfimodulesproduction.model.StockDomain;

@Service
public class StockServiceImpl implements StockService {

    @Autowired
    private StockDao stockDao;

    @Override
    public StockDomain[] getStock()
    {
        return stockDao.getStock();
    }
}
